package me.blog.markan.android.desktop.web;

import java.util.HashMap;
import java.util.Map;

import me.blog.markan.android.desktop.service.WebService;

public class ServiceMapper {

	private static HashMap<String, WebService> serviceMap = new HashMap<String, WebService>();
	
	public void addService(WebService webService) {
		serviceMap.put(webService.getClass().getSimpleName() + ".do", webService);
	}
	public WebService getService(String serviceName) {
		return serviceMap.get(serviceName);
	}
}
